package com.xcity.pomelo.push.msg;

import com.xcity.db.entity.Player;
import com.xcity.pomelo.PomeloRoute;
import com.xcity.pomelo.push.AbstractMessagePush;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.protocol.Message;

@PomeloMessage(type = Message.Type.PUSH, route = PomeloRoute.PUSH_MESSAGE)
public class VisitorOutPush extends AbstractMessagePush {

	private long visitorId;
	
	public VisitorOutPush(Player visitor) {
		super(MSG_VISITOR_OUT);
		this.visitorId = visitor.getId();
	}

	public long getVisitorId() {
		return visitorId;
	}

}
